package designmode.headfirst.strategy.duck;

import designmode.headfirst.strategy.action.eat.EatWithMouth;
import designmode.headfirst.strategy.action.fly.FlyWithWing;

/**
 * 高邮鸭
 * <p>Filename: dp.headFirst.策略模式.duck.DuckWithGaoYou.java</p>
 * <p>Date: 2020-09-24 17:13.</p>
 *
 * @author <a href="mailto:liufuguo@qianmi.com">OF3581-刘富国</a>
 * @version 0.1.0
 */
public class DuckWithGaoYou extends BaseDuck {

    public DuckWithGaoYou() {
        flyAction = new FlyWithWing();
        eatAction = new EatWithMouth();
    }

    @Override
    public void introduce() {
        System.out.println("我是高邮鸭子");
    }


}
